package com.link2room.cms.facade;

import com.link2room.cms.dto.param.base.CmsBaseParamDto;
import com.link2room.cms.dto.param.manager.CmsBaseManagerParamDto;
import com.link2room.cms.dto.result.CmsBaseDto;

import java.util.List;

/**
 * @author sqj88
 * @date 2017/12/1 9:18
 */
public interface ICmsBaseFacadeService {
    CmsBaseDto saveOrUpdateCmsBaseDto(CmsBaseManagerParamDto cmsBaseManagerParamDto)throws Exception;

    void checkCmsBaseCategoryCode(CmsBaseParamDto cmsBaseManagerParamDto)throws Exception;

    List<CmsBaseDto> getCmsBaseTree(CmsBaseParamDto cmsBaseManagerParamDto)throws Exception;

    CmsBaseDto getCmsBaseDto(CmsBaseParamDto cmsBaseManagerParamDto) throws Exception;

    CmsBaseDto getCmsBaseDtoByCode(CmsBaseParamDto cmsBaseParamDto) throws Exception;

    void deleteCmsBase(CmsBaseParamDto cmsBaseManagerParamDto)throws Exception;
}
